-- GENERATED SPELL FOR [Yauj Brood] --


function spell0_15621(pUnit, Event) --@Head Butt,n/a--
pUnit:FullCastSpellOnTarget(25788,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15621', 5338, 1)
end

function Sorts_15621(pUnit, Event)
local choix_sorts_15621 = math.random(0, 0)
if choix_sorts_15621 == 0 then
pUnit:RegisterEvent('spell0_15621', 1, 1)
end
end

function mob15621_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15621', math.random(1500, 3000), 1)
end

function mob15621_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15621_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15621_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15621, 1, 'mob15621_Action')
RegisterUnitEvent(15621, 2, 'mob15621_Leave')
RegisterUnitEvent(15621, 3, 'mob15621_Kill')
RegisterUnitEvent(15621, 4, 'mob15621_Die')
